package com.example.common.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "文章信息")
public class musicarticle implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String summary;

    private String title;

    private String articleImg;

    private int isperfect;

    private int perfect;

    private int viewCounts;

    private int weight;

    private Long authorId;

    private Long bodyId;

    private Long categoryId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private Long isdelete;

}
